home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-02
/
iomon2.zip
/
IOMAC.INC
< prev
next >
Wrap
Text File
|
1991-06-09
|
1KB
|
36 lines
;---------------------------------------------------------------
;iomac.inc - macros for I/O monitor |
;--------------------------------------------------------------|
DOINT macro num
PUBLIC int_&num
int_&num label near
push bp
push &num
jmp pass_thru
endm
DOEXCP macro num
except_&num label near
PUBLIC except_&num
push bp
push &num
jmp except_handler
endm
DOEXCPH macro num
int_&num label near
PUBLIC int_&num
push bp
push &num - 18h
jmp pass_thru
endm
DEFIDTI macro num
idt <isrcode:int_&num,gdt_seg:sel_isrcode,,,>
endm
DEFIDTE macro num
idt <isrcode:except_&num,gdt_seg:sel_isrcode,,,>
endm
;------end of iomac.inc